const region = {
  // 分区方案
  schema: {
    query: `GET /api/v1/biz/regions/schema`,
    create: `POST /api/v1/biz/regions/schema`,
    update: `POST /api/v1/biz/regions/schema/{id}`,
    remove: `DELETE /api/v1/biz/regions/schema`,
    checkCode: `GET /api/v1/biz/regions/schema/code`,
  },
  // 分区
  query: `GET /api/v1/biz/regions`,
  create: `POST /api/v1/biz/regions`,
  queryBySchemaId: `GET /api/v1/biz/regions/singleton/{schemaId}`,
  updateBySchemaId: `POST /api/v1/biz/regions/singleton/{schemaId}`,
  update: `POST /api/v1/biz/regions/{id}`,
  remove: `DELETE /api/v1/biz/regions`,
  checkCode: `GET /api/v1/biz/regions/code`,
};

export default region;

